package com.scau402.system.mapper;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import com.scau402.system.domain.WmsStreamShop;
import com.scau402.system1.domain.po.WmsWarehouseStoragePO;
import org.apache.ibatis.annotations.Param;

/**
 * 直播店铺Mapper接口
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public interface WmsStreamShopMapper extends MPJBaseMapper<WmsStreamShop>
{
    /**
     * 查询直播店铺
     * 
     * @param id 直播店铺主键
     * @return 直播店铺
     */
    public WmsStreamShop selectWmsStreamShopById(Long id);

    /**
     * 查询直播店铺列表
     * 
     * @param wmsStreamShop 直播店铺
     * @return 直播店铺集合
     */
    public List<WmsStreamShop> selectWmsStreamShopList(WmsStreamShop wmsStreamShop);

    /**
     * 新增直播店铺
     * 
     * @param wmsStreamShop 直播店铺
     * @return 结果
     */
    public int insertWmsStreamShop(WmsStreamShop wmsStreamShop);

    /**
     * 修改直播店铺
     * 
     * @param wmsStreamShop 直播店铺
     * @return 结果
     */
    public int updateWmsStreamShop(WmsStreamShop wmsStreamShop);

    /**
     * 删除直播店铺
     * 
     * @param id 直播店铺主键
     * @return 结果
     */
    public int deleteWmsStreamShopById(Long id);

    /**
     * 批量删除直播店铺
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsStreamShopByIds(Long[] ids);

    /**
     * 启用、停用客户
     * @param wmsStreamShopList
     * @return
     */
    public int startOrStopByIds(@Param("wmsStreamShopList") List<WmsStreamShop> wmsStreamShopList);
}
